import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useSettingStore = defineStore('settingState', () => {
  const isCollapse = ref<boolean>(false)

  const setCollapse = (val: boolean) => {
    isCollapse.value = val
  }

  return { isCollapse, setCollapse }
})
